network functions in circuit theory